.project-title {
    display: block;
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px 0;
}

.project-id {
    font-weight: bold;
    margin-right: 10px;
    font-family: Arial, sans-serif;
}

.project-body {
    display: block;
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px 0;
    padding: 20px;
}

.project-button {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    margin-right: 10px;
}

.project-body-up {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-body-down {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.project-body-down-span {
    color: red;
    margin-right: 5px;
}

.project-body-down-label {
    margin-left: 10px;
}

.project-body-down-div {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.project-body-down-div-label {
    margin-right: 10px; 
    cursor: pointer;
    color: #1890ff;
}

.project-select {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}

.project-search {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    margin-right: 10px;
}

.modal-task-header {
  background: #183c56;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 24px 10px 24px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}

.modal-task-baseinfo {
  padding: 12px 24px 0 24px;
  font-size: 14px;
  color: #222;
}

.modal-task-baseinfo span {
  margin-right: 24px;
}

.modal-task-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.modal-task-table th, .modal-task-table td {
  border: 1px solid #e0e0e0;
  padding: 6px 4px;
  text-align: center;
  font-size: 14px;
  background: #fff;
}

.modal-task-table th {
  background: #f5f7fa;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
}

.modal-task-input, .modal-task-select {
  width: 100%;
  min-width: 80px;
  max-width: 160px;
  height: 32px;
  padding: 2px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-size: 14px;
  background: #fafafa;
  box-sizing: border-box;
}

.modal-task-btn {
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 4px 24px;
  margin: 0 8px;
  cursor: pointer;
  font-size: 14px;
}

.modal-task-btn-cancel {
  background: #f5f5f5;
  color: #222;
  border: 1px solid #d9d9d9;
}

.modal-task-op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.modal-task-op-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #183c56;
  margin: 0 2px;
  padding: 0 2px;
  line-height: 1;
}

.modal-task-table input[type="text"] {
  text-align: left;
}

/* 优化弹窗整体内边距 */
.ant-modal-content {
  padding: 0 !important;
  border-radius: 4px;
}

/* 优化底部按钮区域 */
.modal-task-footer {
  text-align: center;
  margin: 18px 0 24px 0;
  padding: 0 24px;
}

.ptk-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 16px 0 0 0;
}
.ptk-table th, .ptk-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 6px;
  text-align: center;
  font-size: 14px;
}
.ptk-table th {
  background: #f5f7fa;
  font-weight: 600;
}
.ptk-status {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 13px;
  display: inline-block;
}
.ptk-status-blue { background: #eaf3ff; color: #3b6ed6; }
.ptk-status-orange { background: #fff3e0; color: #ff9800; }
.ptk-status-gray { background: #f0f0f0; color: #888; }
.ptk-label {
  display: inline-block;
  background: #ff9800;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  padding: 0 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.ptk-btn {
  border: none;
  border-radius: 4px;
  padding: 2px 12px;
  margin: 0 2px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  background: #7c4dff;
}
.ptk-btn-green { background: #4caf50; }
.ptk-btn-purple { background: #7c4dff; }
.ptk-table-bottom {
  padding: 12px 0 0 8px;
  color: #666;
  font-size: 14px;
}